package com.xc.freeapp.entity;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotNull;

import org.springframework.format.annotation.DateTimeFormat;

import com.wordnik.swagger.annotations.ApiModelProperty;

/**
 * 
 * @author wukailuo
 *  定时复诊
 */
public class Timingvisit implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private   Integer   id;
    private   Integer   userid;
    @NotNull(message="访问日期不能为空")
    @ApiModelProperty(value="访问日期")
    private   Date  visitdate;
    @NotNull(message="医院名称不能为空")
    @ApiModelProperty(value="医院名称")
    private   String  hospitalname;
    @NotNull(message="复诊内容不能为空")
    @ApiModelProperty(value="复诊内容")
    private   String  visitcontent;
    @ApiModelProperty(value="小贴士")
    private   String  tips;
    @ApiModelProperty(value="备注")
    private   String  remark;
    private    Integer    createby;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private    Date   createtime;
	private    Integer    updateby;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private    Date   updatetime;
	private    char   delflag;
	 @ApiModelProperty(value="提醒时间")
	 @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private   Date remindtime1;
	 @ApiModelProperty(value="逾期提醒时间")
	 @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private   Date remindtime2;
	 @ApiModelProperty(value="提醒开关(t:开启,d:关闭)")
	 private char remindtime1status;
	 @ApiModelProperty(value="逾期提醒开关(t:开启,d:关闭)")
	 private char remindtime2status;
	 
	 
	public char getRemindtime1status() {
		return remindtime1status;
	}
	public void setRemindtime1status(char remindtime1status) {
		this.remindtime1status = remindtime1status;
	}
	public char getRemindtime2status() {
		return remindtime2status;
	}
	public void setRemindtime2status(char remindtime2status) {
		this.remindtime2status = remindtime2status;
	}
	public Date getRemindtime1() {
		return remindtime1;
	}
	public void setRemindtime1(Date remindtime1) {
		this.remindtime1 = remindtime1;
	}
	public Date getRemindtime2() {
		return remindtime2;
	}
	public void setRemindtime2(Date remindtime2) {
		this.remindtime2 = remindtime2;
	}
	public Timingvisit() {
		super();
	}
	public Timingvisit(Integer id, Integer userid, Date visitdate, String hospitalname, String visitcontent, String tips,
			String remark, Integer createby, Date createtime, Integer updateby, Date updatetime, char delflag) {
		super();
		this.id = id;
		this.userid = userid;
		this.visitdate = visitdate;
		this.hospitalname = hospitalname;
		this.visitcontent = visitcontent;
		this.tips = tips;
		this.remark = remark;
		this.createby = createby;
		this.createtime = createtime;
		this.updateby = updateby;
		this.updatetime = updatetime;
		this.delflag = delflag;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUserid() {
		return userid;
	}
	public void setUserid(Integer userid) {
		this.userid = userid;
	}
	public Date getVisitdate() {
		return visitdate;
	}
	public void setVisitdate(Date visitdate) {
		this.visitdate = visitdate;
	}
	public String getHospitalname() {
		return hospitalname;
	}
	public void setHospitalname(String hospitalname) {
		this.hospitalname = hospitalname;
	}
	public String getVisitcontent() {
		return visitcontent;
	}
	public void setVisitcontent(String visitcontent) {
		this.visitcontent = visitcontent;
	}
	public String getTips() {
		return tips;
	}
	public void setTips(String tips) {
		this.tips = tips;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getCreateby() {
		return createby;
	}
	public void setCreateby(Integer createby) {
		this.createby = createby;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public Integer getUpdateby() {
		return updateby;
	}
	public void setUpdateby(Integer updateby) {
		this.updateby = updateby;
	}
	public Date getUpdatetime() {
		return updatetime;
	}
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	public char getDelflag() {
		return delflag;
	}
	public void setDelflag(char delflag) {
		this.delflag = delflag;
	}
	
}
